package com.apes.framework.plugin.express;

import java.util.function.Function;

public interface IEngine<T, K> {
    void initRunner();

    <R> R execute(T express, K context) throws Exception;

    <R> R execute(T express, K context, Function<Exception, String> func);

    <R> R execute(T express, K context, R other, Function<Exception, String> func);
}
